resource "huaweicloud_cce_node" "mod_cce_nodes" {
  cluster_id        = var.cluster_id
  name              = var.name
  os                = var.os
  flavor_id         = var.flavor_id
  availability_zone = var.availability_zone
  key_pair          = var.key_pair

  root_volume {
    size       = var.root_volume_size
    volumetype = var.root_volume_type
  }
  data_volumes {
    size       = var.data_volume_size
    volumetype = var.data_volume_type
  }
}